#!/bin/bash

set -e

echo "Upgrading OMF commands"
mv omf-5.4 /usr/bin/

echo "Upgrading definition of experiment ID and RC configuration file"
mv experiment.rb /usr/share/omf-expctl-5.4/omf-expctl/

echo "Upgrading database structure"
mysql -u root -p inventory < inventory.sql

echo "Script execution finished with success"
